//
//  FAITHMenuButton.m
//  综合案例
//
//  Created by FAITH on 16/11/26.
//  Copyright © 2016年 FAITH. All rights reserved.
//

#import "XCInterestContentButton.h"

@implementation XCInterestContentButton

-(void)layoutSubviews
{
    [super layoutSubviews];
    
    self.imageView.frame=CGRectMake(0, 0, self.width, self.height-15);
    
    self.imageView.contentMode=UIViewContentModeCenter;
    
    self.titleLabel.frame=CGRectMake(0, self.height-15, self.width, 15);
    
    self.titleLabel.textAlignment=NSTextAlignmentCenter;
    
    self.titleLabel.font=[UIFont systemFontOfSize:14];
    
    self.titleLabel.textColor=[UIColor lightGrayColor];
}

@end
